﻿<%@ Control language="C#" Inherits="Product.EditProduct" CodeFile="EditProduct.ascx.cs" AutoEventWireup="true"%>
<%@ Register Src="../../controls/tm_TreeViewAdv.ascx" TagName="tm_TreeViewAdv" TagPrefix="uc6" %>
<%@ Register Src="../../controls/tm_selectProductFromList.ascx" TagName="selectProductFromList"
    TagPrefix="uc5" %>
<%@ Register Src="../../controls/tm_TreeTab.ascx" TagName="tm_TreeTab" TagPrefix="uc4" %>
<%@ Register Src="../../controls/tm_TreeViewAdv.ascx" TagName="tm_Treeview" TagPrefix="uc3" %>
<%@ Register Src="../../controls/message.ascx" TagName="message" TagPrefix="uc2" %>
<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
<%@ Register Src="../../controls/tm_uploadFile.ascx" TagName="UploadFile" TagPrefix="uc1" %>
<%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/LabelControl.ascx" %>
<%@ Register TagPrefix="dnn" TagName="TextEditor" Src="~/controls/TextEditor.ascx"%>
<%@ Register TagPrefix="dnn" TagName="Audit" Src="~/controls/ModuleAuditControl.ascx" %>

<center>
    <asp:Panel ID="pnlEdit" runat="server" Width="100%"><CENTER><asp:Panel id="pnlTopNavigator" runat="server" Width="100%">
    <table width="100%">
        <tr>
            <td colspan="3" width="100%" align="center">
                <div id="tabs10">
                    <ul>
                        <li>
                            <asp:LinkButton ID="lkbThongTinChung" runat="server" OnClick="lkbThongTinChung_Click"><span>THÔNG TIN CHUNG</span></asp:LinkButton>
                        </li>
                        <li>
                            <asp:LinkButton ID="lbkChuyenGia" runat="server" OnClick="lbkChuyenGiao_Click"><span>CHUYỂN GIAO</span></asp:LinkButton>
                        </li>
                        <li>
                            <asp:LinkButton ID="lkbPhanLoai" runat="server" OnClick="lkbPhanLoai_Click"><span>PHÂN LOẠI</span></asp:LinkButton>
                        </li>
                        <li>
                            <asp:LinkButton ID="lkbKhac" runat="server" OnClick="lkbKhac_Click"><span>KHÁC</span></asp:LinkButton>
                        </li>
                        <li>
                            <asp:LinkButton ID="lkbQuanLy" runat="server" OnClick="lkbQuanLy_Click"><span>QUẢN LÝ</span></asp:LinkButton>
                        </li>
                    </ul>
                </div>
            </td>
        </tr>
    </table>
        </asp:Panel> </CENTER><CENTER>
        <asp:ValidationSummary id="valSumary" runat="server" DisplayMode="List" ValidationGroup="a" Width="100%"></asp:ValidationSummary>
        <asp:Panel id="pnlThongTinChung" runat="server" Width="100%">
        <table width="100%" border="0">
            <tr>
                <td width="10%">
                </td>
                <td class="table" colspan="2">
                    <asp:Label id="Label1" Text="THÔNG TIN CHUNG"   runat="server" CssClass="titletext2"></asp:Label></td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    <asp:Label id="Label2" Text="Mã sản phẩm" runat="server"   CssClass="titletext3"></asp:Label>
                </td>
                <td>
                    <asp:TextBox id="txtMaSo" runat="server" Width="120px" ReadOnly="true"></asp:TextBox><asp:DropDownList id="ddlLoaiMaSo" runat="server" OnSelectedIndexChanged="ddlLoaiMaSo_SelectedIndexChanged" AutoPostBack="true">
                    </asp:DropDownList>
                <asp:Label ID="lblCurItemId" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td style="width: 150px">
                </td>
                <td style="width: 150px">
                    <asp:Label id="Label3" Text="Tên tiếng Việt:" runat="server"   CssClass="titletext3"></asp:Label>
                    <asp:Label id="Label8" Text="*" runat="server" ForeColor="Red"></asp:Label>
                </td>
                <td>
                    <asp:TextBox id="txtTenVN" runat="server" Width="500px" MaxLength="255"></asp:TextBox>
                    <asp:RequiredFieldValidator id="reqVNName" runat="server" ValidationGroup="a" ErrorMessage="Tên tiếng Việt chưa nhập" Display="None" ControlToValidate="txtTenVN"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td style="width: 150px">
                </td>
                <td style="width: 150px">
                    <asp:Label id="Label7" Text="Tên tiếng Anh:" runat="server"   CssClass="titletext3"></asp:Label>
                </td>
                <td>
                    <asp:TextBox id="txtTenAnh" runat="server" Width="500px" MaxLength="255"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td style="width: 150px">
                </td>
                <td style="width: 150px">
                    <asp:Label id="Label4" Text="Xuất xứ:" runat="server"   CssClass="titletext3"></asp:Label>
                    <asp:Label id="Label9" Text="*" runat="server" ForeColor="Red"></asp:Label>
                </td>
                <td>
                    <asp:DropDownList ID="ddlXuatXu" runat="server" Width="100px"></asp:DropDownList>
                    <asp:RequiredFieldValidator id="reqOrigin" runat="server" ValidationGroup="a" ErrorMessage="Tên tiếng Việt chưa nhập" Display="None" ControlToValidate="ddlXuatXu"></asp:RequiredFieldValidator> 
                </td>
            </tr>
            <tr>
                <td colspan="1">
                </td>
                <td colspan="2">
                    <asp:Label id="Label5" Text="Mô tả:" runat="server"   CssClass="titletext3"></asp:Label><asp:Label id="Label10" Text="*" runat="server" ForeColor="Red"></asp:Label></td>
            </tr>
            <tr>
                <td colspan="1">
                </td>
                <td  colspan="2" >
                    <ftb:freetextbox id="txtMoTa" runat="server" width="650px" EnableHtmlMode="False" Height="150px" AllowHtmlMode="False"></ftb:freetextbox>
                    <asp:RequiredFieldValidator ID="reqMoTa" runat="server" ControlToValidate="txtMoTa"
                        Display="None" ErrorMessage="Thông tin mô tả chưa có" ValidationGroup="a"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td colspan="1" valign="top">
                </td>
                <td valign="top" colspan="2">
                    <asp:Label id="Label18" Text="Ưu điểm:" runat="server"   CssClass="titletext3"></asp:Label></td>
            </tr>
            <tr>
                <td colspan="1">
                </td>
                <td colspan="2"><ftb:freetextbox id="txtUuDiem" runat="server" width="650px" EnableHtmlMode="False" Height="100px">
                </FTB:FreeTextBox>
                </td>
            </tr>
            <tr>
                <td colspan="1">
                </td>
                <td colspan="2">
                    <asp:LinkButton ID="btnUploadLogo" runat="server"   OnClick="btnUploadLogo_Click">Đính kèm hình sản phẩm</asp:LinkButton>
                    (&lt;50 Kb)</td>
            </tr>
            <tr>
                <td colspan="1">
                </td>
                <td colspan="2">
                    <uc1:UploadFile id="upLogo" runat="server" Visible="false">
                    </uc1:UploadFile>
                </td>
            </tr>
            <tr>
                <td colspan="1" style="width: 150px; height: 21px">
                </td>
                <td style="width: 150px; height: 21px;" colspan="2">
                    <asp:LinkButton ID="btnUploadFile" runat="server"   OnClick="btnUploadFile_Click">Đính kèm tệp</asp:LinkButton>
                    (&lt;50 Kb)</td>
            </tr>
            <tr>
                <td colspan="1" valign="top">
                </td>
                <td  valign="top" colspan="2" >
                    <uc1:UploadFile id="ulFile" runat="server" Visible="false"></uc1:UploadFile> 
                </td>
            </tr>
        </table>
    </asp:Panel> <asp:Panel id="pnlThongtinThietBi" runat="server" Width="100%">
        <table border="0" width="100%">
            <tr>
                <td align="center" colspan="1" width="10%">
                </td>
                <td align="left" colspan="2" class="table">
                    <asp:Label ID="Label19" runat="server"   Text="PHẦN THÔNG TIN THIẾT BỊ" CssClass="titletext2"></asp:Label>
                </td>
            </tr>
            <tr>
                <td style="width: 150px">
                </td>
                <td  style="width: 150px">
                    <asp:Label ID="Label20" runat="server" Text="Đạt tiêu chuẩn:"   CssClass="titletext3"></asp:Label></td>
                <td>
                    <asp:CheckBox ID="ckTieuChuanVN" runat="server"   Text="Tiêu chuẩn Việt Nam" CssClass="titletext3" />
                    <asp:CheckBox ID="ckTieuChuanNgoai" runat="server"   Text="Tiêu chuẩn nước ngoài" CssClass="titletext3" />
                </td>
            </tr>
            <tr>
                <td colspan="1" valign="top">
                </td>
                <td  valign="top" colspan="2">
                    <asp:Label ID="Label21" runat="server" Text="Công suất / Năng suất:"   CssClass="titletext3"></asp:Label>
                    <asp:Label ID="Label22" runat="server" Text="Ví dụ: công suất 1.00 chai/1 ca"></asp:Label>
                </td>
            </tr>
            <tr>
                <td colspan="1">
                </td>
                <td  colspan="2">
                    <asp:TextBox ID="txtCongSuatNangSuat" runat="server" Rows="5" TextMode="MultiLine"
                        Width="650px"></asp:TextBox></td>
            </tr>
            <tr>
                <td colspan="1" valign="top">
                </td>
                <td  colspan="2" valign="top">
                    <asp:Label ID="Label23" runat="server" Text="Các chỉ tiêu kinh tế - kỹ thuật:"   CssClass="titletext3"></asp:Label>
                    <asp:Label ID="Label24" runat="server" Text="Ví dụ: năm sản xuất, kích thước, trọng lượng..."></asp:Label>
                </td>
            </tr>
            <tr>
                <td colspan="1">
                </td>
                <td colspan="2">
                    <asp:TextBox ID="txtCacChiTieuKinhTeKyThuat" runat="server" Rows="5" TextMode="MultiLine"
                        Width="100%"></asp:TextBox></td>
            </tr>
            <tr>
                <td valign="top">
                </td>
                <td valign="top"><asp:Label ID="Label25" runat="server" Text="Mức độ phát triển:"   CssClass="titletext3"></asp:Label></td>
                <td>
                    <table border="0">
                        <tr>
                            <td>
                                <asp:CheckBox ID="ckSuDungThu" runat="server"    
                                    Text="Đã sử dụng để sản xuất thử" CssClass="titletext3" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:CheckBox ID="ckSuDungQuiMo" runat="server"   
                                     Text="Đã sử dụng sản xuất qui mô công nghiệp" CssClass="titletext3" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:CheckBox ID="ckThuongMaiHoa" runat="server"   
                                     Text="Đã thương mại hóa" CssClass="titletext3" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td valign="top">
                </td>
                <td valign="top">
                    <asp:Label ID="Label26" runat="server" Text="Xuất xứ:" CssClass="titletext3"  ></asp:Label></td>
                <td>
                    <table border="0">
                        <tr>
                            <td>
                                <asp:CheckBox ID="ckCuaDonVi" runat="server"   Text="Kết quả đề tài nghiên cứu của đơn vị" CssClass="titletext3" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:CheckBox ID="ckChuyenGiaoNuocNgoai" runat="server"   Text="Kết quả chuyển giao từ nước ngoài" CssClass="titletext3" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:CheckBox ID="ckSaoChepNuocNgoai" runat="server"   Text="Sao chép mẫu nước ngoài" CssClass="titletext3" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:CheckBox ID="ckTuNghienCuu" runat="server"   Text="Tự nghiên cứu chế tạo" CssClass="titletext3" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td><asp:Label ID="Label27" runat="server" Text="Năm hoàn thiện:"   CssClass="titletext3"></asp:Label></td>
                <td>
                    <asp:TextBox ID="txtNamHoanThien" runat="server" Width="80px" MaxLength="4">0</asp:TextBox>
                    <asp:RangeValidator ID="valNumNamHoanThien" runat="server" ControlToValidate="txtNamHoanThien" Display="None"
                        EnableClientScript="False" ErrorMessage="Năm hoàn thiện phải là số lớn hơn 0 và nhỏ hơn 9999"
                        MaximumValue="9999" MinimumValue="0" ValidationGroup="a" Type="Integer"></asp:RangeValidator>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                </td>
                <td>
                     </td>
            </tr>
            <tr>
                <td colspan="1">
                </td>
                <td  colspan="2">
                    <table border="0">
                        <tr>
                            <td align="left" colspan="2" class="table">
                                <asp:Label ID="Label40" runat="server"   Text="YÊU CẦU KỸ THUẬT TRONG VẬN HÀNH VÀ LẮP ĐẶT" CssClass="titletext2"></asp:Label></td>
                        </tr>
                        <tr>
                            <td style="width: 339px;">
                                <asp:Panel ID="Panel1" runat="server">
                                 <table>
                                 <tr>
                                 <td style="width: 103px">
                                <asp:Label ID="Label41" runat="server" Text="Nhân lực:"   CssClass="titletext3"></asp:Label></td>
                                            <td>
                                <asp:TextBox ID="txtNhanLuc" runat="server" Width="80px" MaxLength="4">0</asp:TextBox>
                                <asp:RangeValidator ID="valNumNhanLuc" runat="server" ControlToValidate="txtNhanLuc"
                                    Display="None" EnableClientScript="False" ErrorMessage="Nhân lực phải là số lớn hơn 0 và nhỏ hơn 9999"
                                    MaximumValue="9999" MinimumValue="0" ValidationGroup="a" Type="Integer"></asp:RangeValidator></td>
                                        </tr>
                                        <tr>
                                            <td style="width: 103px">
                                <asp:Label ID="Label31" runat="server"   Text="Kỹ sư:" Width="96px" CssClass="titletext3"></asp:Label></td>
                                            <td>
                                <asp:TextBox ID="txtKySu" runat="server" Width="80px" MaxLength="4">0</asp:TextBox>
                                <asp:RangeValidator ID="valNumKySu" runat="server" ControlToValidate="txtKySu" Display="None"
                                    EnableClientScript="False" ErrorMessage="Kỹ sư phải là số nhỏ hơn 9999"
                                    MaximumValue="9999" MinimumValue="0" ValidationGroup="a" Type="Integer"></asp:RangeValidator></td>
                                        </tr>
                                        <tr>
                                            <td style="width: 103px">
                                <asp:Label ID="Label43" runat="server" Text="Kỹ thuật viên:"   CssClass="titletext3"></asp:Label></td>
                                            <td>
                                <asp:TextBox ID="txtNhanVien" runat="server" Width="80px" MaxLength="4">0</asp:TextBox>
                                <asp:RangeValidator ID="valNumKyThuatVien" runat="server" ControlToValidate="txtNhanVien"
                                    Display="None" EnableClientScript="False" ErrorMessage="Kỹ thuật viên phải là số nhỏ hơn 9999"
                                    MaximumValue="9999" MinimumValue="0" ValidationGroup="a" Type="Integer"></asp:RangeValidator></td>
                                        </tr>
                                        <tr>
                                            <td style="width: 103px" >
                                <asp:Label ID="Label44" runat="server" Text="Công nhân:"   CssClass="titletext3"></asp:Label></td>
                                            <td>
                                <asp:TextBox ID="txtCongNhan" runat="server" Width="80px" MaxLength="4">0</asp:TextBox>
                                <asp:RangeValidator ID="valNumCongNhan" runat="server" ControlToValidate="txtCongNhan"
                                    Display="None" EnableClientScript="False" ErrorMessage="Công nhân phải là số nhỏ hơn 9999"
                                    MaximumValue="9999" MinimumValue="0" ValidationGroup="a" Type="Integer"></asp:RangeValidator></td>
                                        </tr>
                                    </table>
                                </asp:Panel>
                            </td>
                            <td>
                                <asp:Panel ID="Panel2" runat="server">
                                    <table>
                                        <tr>
                                            <td>
                                <asp:Label ID="Label28" runat="server" Text="Điện:"   CssClass="titletext3"></asp:Label></td>
                                            <td>
                                <asp:TextBox ID="txtdien" runat="server" Width="150px"></asp:TextBox></td>
                                        </tr>
                                        <tr>
                                            <td>
                                <asp:Label ID="Label30" runat="server" Text="Khí đốt, dầu:"   Width="96px" CssClass="titletext3"></asp:Label></td>
                                            <td>
                                <asp:TextBox ID="txtKhiDot" runat="server" Width="150px"></asp:TextBox></td>
                                        </tr>
                                        <tr>
                                            <td>
                                <asp:Label ID="Label32" runat="server" Text="Mặt bằng:"   Width="80px" CssClass="titletext3"></asp:Label></td>
                                            <td>
                                <asp:TextBox ID="txtMatBang" runat="server" Width="150px"></asp:TextBox></td>
                                        </tr>
                                        <tr>
                                            <td>
                                <asp:Label ID="Label34" runat="server" Text="Nhiên liệu:"   CssClass="titletext3"></asp:Label></td>
                                            <td>
                                <asp:TextBox ID="txtNhienLieu" runat="server" Width="150px"></asp:TextBox></td>
                                        </tr>
                                    </table>
                                </asp:Panel>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </asp:Panel> <asp:Panel id="pnlThongTinGiaiPhap" runat="server" Width="100%">
        <table border="0" width="100%">
            <tr>
                <td align="center" colspan="1" width="10%">
                </td>
                <td align="left" colspan="2" class="table">
                    <asp:Label ID="Label11" runat="server"   Text="THÔNG TIN GIẢI PHÁP PHẦN MỀM" CssClass="titletext3"></asp:Label></td>
            </tr>
            <tr>
                <td colspan="1">
                </td>
                <td colspan="2">
                    <asp:Label ID="Label12" runat="server" Text="Chức năng:"   CssClass="titletext3"></asp:Label></td>
            </tr>
            <tr>
                <td colspan="1">
                </td>
                <td colspan="2"><ftb:freetextbox id="ftbChucNang" runat="server" width="650px" EnableHtmlMode="False" Height="100px">
                </FTB:FreeTextBox>
                </td>
            </tr>
            <tr>
                <td colspan="1">
                </td>
                <td colspan="2">
                    <asp:Label ID="Label13" runat="server" Text="Cấu trúc:"   CssClass="titletext3"></asp:Label></td>
            </tr>
            <tr>
                <td colspan="1">
                </td>
                <td colspan="2">
                    <ftb:freetextbox id="txtCautruc" runat="server" width="650" EnableHtmlMode="False" Height="150px"></ftb:freetextbox>
                </td>
            </tr>
            <tr>
                <td colspan="1" title="Mức độ phát triển">
                </td>
                <td  colspan="2" title="Mức độ phát triển" >
                    <asp:Label ID="Label37" runat="server" Text="Mức độ phát triển:"   CssClass="titletext3"></asp:Label></td>
            </tr>
            <tr>
                <td colspan="1" valign="top">
                </td>
                <td  valign="top" colspan="2"><ftb:freetextbox id="ftbMucDoPhattrien" runat="server" width="650" EnableHtmlMode="False" Height="100px">
                </FTB:FreeTextBox>
                </td>
            </tr>
            <tr>
                <td colspan="1">
                </td>
                <td colspan="2">
                    <asp:Label ID="Label42" runat="server" Text="Yêu cầu:"   CssClass="titletext3"></asp:Label>
                    <asp:Label ID="Label49" runat="server" Text="Ví dụ: Máy chủ: cấu hình tối thiểu Pentium III, 512 MB RAM"></asp:Label>
                </td>
            </tr>
            <tr>
                <td colspan="1" valign="top">
                </td>
                <td  valign="top" colspan="2"><ftb:freetextbox id="ftbYeuCau" runat="server" width="650" EnableHtmlMode="False" Height="100px">
                </FTB:FreeTextBox>
                </td>
            </tr>
        </table>
    </asp:Panel> <asp:Panel id="pnlThongTinDichVu" runat="server" Width="100%">
        <table border="0" width="100%">
            <tr>
                <td align="center" colspan="1" width="10%">
                </td>
                <td align="left" colspan="2" class="table">
                    <asp:Label ID="Label17" runat="server"   Text="THÔNG TIN DỊCH VỤ" CssClass="titletext2"></asp:Label></td>
            </tr>
            <tr>
                <td colspan="1" valign="top">
                </td>
                <td  colspan="2" valign="top">
                    <asp:Label ID="Label36" runat="server" Text="Đối tượng sử dụng:"   CssClass="titletext3"></asp:Label></td>
            </tr>
            <tr>
                <td colspan="1" valign="top">
                </td>
                <td  valign="top" colspan="2"><ftb:freetextbox id="txtdoiTuongSuDung" runat="server" width="650" EnableHtmlMode="False" Height="100px">
                </FTB:FreeTextBox>
                </td>
            </tr>
        </table>
    </asp:Panel> <asp:Panel id="pnlPhuongThucChuyenGiao" runat="server" Width="100%">
        <table border="0" width="100%">
            <tr>
                <td align="center" colspan="1" width="10%">
                </td>
                <td align="left" colspan="2" class="table">
                    <asp:Label ID="Label51" runat="server"   Text="PHƯƠNG THỨC CHUYỂN GIAO" CssClass="titletext2"></asp:Label></td>
            </tr>
            <tr>
                <td style="width: 150px" valign="top">
                </td>
                <td valign="top" width="15%">
                    <asp:Label ID="Label52" runat="server" Text="Chuyển giao:"   CssClass="titletext3"></asp:Label></td>
                <td valign="top">
                        <asp:CheckBox ID="ckPatent" runat="server"    
                            Text="Patent" CssClass="titletext3" />
                        <asp:CheckBox ID="ckBiQuyet" runat="server"    
                            Text="Bí quyết" CssClass="titletext3" />
                         
                        <asp:CheckBox ID="ckLicense" runat="server"    
                            Text="License" CssClass="titletext3" />
                         
                        <asp:CheckBox ID="ckDaoTao" runat="server"    
                            Text="Đào tạo" CssClass="titletext3" />
                         
                        <asp:CheckBox ID="ckTuVanDaoTao" runat="server"    
                            Text="Tư vấn đào tạo" CssClass="titletext3" />
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td></td>
                <td width="100%">
                    <asp:CheckBox ID="ckChiaKhoatraoTay" runat="server"   
                         Text="Chìa khóa trao tay" CssClass="titletext3" />
                              
                    <asp:CheckBox ID="ckThoaThuanKhachHang" runat="server"    
                        Text="Theo thỏa thuận của khách hàng" CssClass="titletext3" />
                </td>
            </tr>
                        
            <tr>
                <td style="width: 125px; height: 22px" valign="top">
                </td>
                <td  style="width: 125px; height: 22px;" valign="top">
                    <asp:Label ID="Label53" runat="server" Text="Cung cấp:"   CssClass="titletext3"></asp:Label></td>
                <td style="height: 22px">
                    <asp:CheckBox ID="cktrucTiepTheoDonDatHang" runat="server"   
                         Text="trực tiếp theo đơn đặt hàng" CssClass="titletext3" />
                    <asp:CheckBox ID="ckTheoDonDatHang" runat="server"   
                         Text="Theo đơn đặt hàng" CssClass="titletext3" />
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td></td>
                <td>
                    <asp:CheckBox ID="ckQuaTongDaiLy" runat="server"   
                         Text="Qua tổng đại lý" CssClass="titletext3" />
                      
                    <asp:CheckBox ID="ckDaiLyDocQuyen" runat="server"   
                         Text="Đại lý độc quyền" CssClass="titletext3" />
                     <asp:CheckBox ID="ckDaiLyBanLe" runat="server"   
                         Text="Đại lý bán lẻ" CssClass="titletext3" /></td>
            </tr>
            <tr>
                <td>
                </td>
                <td></td>
                <td>
                    <asp:CheckBox ID="ckQuaDiemTiepThiChinh" runat="server"   
                         Text="Qua điểm tiếp thị chính" CssClass="titletext3" />
                </td>
            </tr>
            <tr>
                <td style="width: 125px">
                </td>
                <td  style="width: 125px">
                    <asp:Label ID="Label54" runat="server" Text="Giá khởi điểm:"   CssClass="titletext3"></asp:Label></td>
                <td valign="top">
                    <asp:TextBox ID="txtGiaThapNhat" runat="server" Width="100px" MaxLength="9">0</asp:TextBox>
                    <asp:Label ID="Label55" runat="server" Text="đến"   CssClass="titletext3"></asp:Label>
                    <asp:TextBox ID="txtGiaCaoNhat" runat="server" Width="100px" MaxLength="9">0</asp:TextBox><asp:DropDownList
                    ID="ddlDonVi" runat="server" Width="100px">
                    </asp:DropDownList><asp:DropDownList ID="ddlLoaiTien" runat="server" Width="100px">
                    </asp:DropDownList>
                    <asp:RangeValidator ID="valNumGiaThapNhat" runat="server" ControlToValidate="txtGiaThapNhat"
                    Display="None" EnableClientScript="False" ErrorMessage="Giá khởi điểm phải là số lớn hơn 0 và nhỏ hơn 1 tỷ"
                    MaximumValue="1000000000" MinimumValue="0" Type="Double"></asp:RangeValidator>
                    <asp:RangeValidator ID="valNumGiaCaoNhat" runat="server" ControlToValidate="txtGiaCaoNhat"
                    Display="None" EnableClientScript="False" ErrorMessage="Giá khởi điểm phải là số lớn hơn 0 và nhỏ hơn 1 tỷ"
                    MaximumValue="1000000000" MinimumValue="0" Type="Double"></asp:RangeValidator>
                    </td>
            </tr>
            <tr>
                <td style="width: 125px; height: 21px">
                </td>
                <td style="width: 125px; height: 21px;">
                </td>
                <td valign="top" style="height: 21px">
                    <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtGiaThapNhat"
                        ControlToValidate="txtGiaCaoNhat" ErrorMessage="Giá khởi điểm cao nhất phải nhỏ hơn giá thấp nhất."
                        Operator="GreaterThanEqual" SetFocusOnError="True" Type="Double" Display="Dynamic" ValidationGroup="a"></asp:CompareValidator></td>
            </tr>
            <tr>
                <td colspan="1">
                </td>
                <td colspan="2">
                    <asp:Label ID="Label56" runat="server" Text="Điều kiện khác:"   CssClass="titletext3"></asp:Label>
                                <asp:Label ID="Label60" runat="server" Text="Ví dụ: 120 USD (FOB)"  ></asp:Label></td>
            </tr>
            <tr>
                <td colspan="1">
                </td>
                <td colspan="2">
                    <asp:TextBox ID="txtdieuKienKhac" runat="server" Width="650px" Rows="5" TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td colspan="1">
                </td>
                <td  colspan="2">
                    <asp:Label ID="Label57" runat="server" Text="Chi phí khác:"   CssClass="titletext3"></asp:Label>
                    <asp:Label ID="Label61" runat="server" Text="Ví dụ: chi phí đào tạo, phí tư vấn kỹ thuật, phí chuyển giao bí quyết"  ></asp:Label></td>
            </tr>
            <tr>
                <td colspan="1" valign="top">
                </td>
                <td  valign="top" colspan="2">
                    <asp:TextBox ID="txtChiPhiKhac" runat="server" Rows="5" TextMode="MultiLine"
                        Width="650px"></asp:TextBox></td>
            </tr>
            <tr>
                <td colspan="1" valign="top">
                </td>
                <td  valign="top" colspan="2">
                    <asp:Label ID="Label58" runat="server" Text="Bảo hành:"   CssClass="titletext3"></asp:Label></td>
            </tr>
            <tr>
                <td colspan="1" valign="top">
                </td>
                <td  valign="top" colspan="2">
                    <asp:TextBox ID="txtBaoHanh" runat="server" Rows="5" TextMode="MultiLine" Width="650px"></asp:TextBox></td>
            </tr>
            <tr>
                <td valign="top">
                </td>
                <td  valign="top">
                    <asp:Label ID="Label59" runat="server" Text="Chuyển giao cho:"   CssClass="titletext3"></asp:Label></td>
                <td valign="top">
                                <asp:TextBox ID="txtChuyenGiaoChoSo" runat="server" Width="100px" MaxLength="6">0</asp:TextBox>
                                <asp:Label ID="Label62" runat="server" Text="đơn vị"></asp:Label>
                                <asp:RangeValidator ID="valNumChuyenGiaoSo" runat="server" ControlToValidate="txtChuyenGiaoChoSo"
                                    Display="None" EnableClientScript="False" ErrorMessage="Số đơn vị chuyển giao phải là số lớn hơn 0 và nhỏ hơn 1 triệu"
                                    MaximumValue="1000000" MinimumValue="0" ValidationGroup="a" Type="Integer"></asp:RangeValidator>
                </td>
            </tr>
            <tr>
                <td colspan="1" valign="top">
                </td>
                <td colspan="2" valign="top">
                                <asp:Label ID="Label63" runat="server" Text="Liệt kê một số đơn vị đã chuyển giao :"   CssClass="titletext3"></asp:Label></td>
            </tr>
            <tr>
                <td colspan="1" valign="top">
                </td>
                <td  colspan="2" valign="top">
                    <asp:TextBox ID="txtChuyenGiaoCho" runat="server" Rows="5" TextMode="MultiLine"
                        Width="650px"></asp:TextBox></td>
            </tr>
       </table>
    </asp:Panel> <asp:Panel id="pnlThongTinPhanLoai" runat="server" Width="100%">
        <table border="0" width="100%" >
            <tr>
                <td align="left" class="table" colspan="1" width="10%">
                </td>
                <td align="left" colspan="2" class="table">
                    <asp:Label ID="Label64" runat="server"   Text="THÔNG TIN PHÂN LOẠI" CssClass="titletext2"></asp:Label></td>
            </tr>
            <tr>
                <td style="width: 120px" valign="top">
                </td>
                <td valign="top" width="15%">
                    <asp:Label ID="Label65" runat="server" Text="Phân loại"   CssClass="titletext3"></asp:Label></td>
                <td valign="top" style="width:521px;">
                    <asp:DropDownList ID="ddlProductCat" runat="server" Width="500px">
                    </asp:DropDownList>
                      
                </td>
            </tr>
            <%--<tr style="font-size: 12pt">
                <td  style="width: 125px">
                    <asp:Label ID="Label66" runat="server" Text="Phân loại:" Font-Bold="True"></asp:Label></td>
                <td valign="top">
                    <asp:DropDownList ID="ddlPhanLoai" runat="server" Width="300px">
                    </asp:DropDownList>
                    <asp:HyperLink ID="hplPhanLoai" runat="server" onclick="javascript:window.open('/techmart/Product_PhanLoai.aspx',null,'height=250, width= 500, status=no, resizable= no, scrollbars=yes, toolbar= no,location= no, menubar= no');">[Chọn]</asp:HyperLink>
                    <asp:Button ID="btnPhanLoai" runat="server" OnClick="btnPhanLoai_Click" Text="Cập nhật" />
                    </td>
            </tr>--%>
            <tr>
                <td style="width: 120px" valign="top">
                </td>
                <td style="width: 120px" valign="top">
                </td>
                <td valign="top" style="width: 521px">
                    <asp:LinkButton ID="btnProductCat" runat="server" OnClick="btnProductCat_Click">Cập nhật</asp:LinkButton>
                    <uc6:tm_TreeViewAdv ID="tvProductCat" runat="server" myWidth="400" myHeight="200" />
                     <asp:LinkButton ID="btnProdCatSelect" runat="server" OnClick="btnProdCatSelect_Click">Chọn</asp:LinkButton>
                     <asp:LinkButton ID="btnProdCatNotSelect" runat="server" OnClick="btnProdCatNotSelect_Click"
                        Visible="False">Đóng</asp:LinkButton></td>
            </tr>
            <tr>
                <td style="width: 120px" valign="top">
                </td>
                <td valign="top" style="width: 120px">
                    <asp:Label ID="Label6" runat="server"   Text="Lĩnh vực áp dụng:" Width="120px" CssClass="titletext3"></asp:Label></td>
                <td valign="top" style="width: 521px">
                    <asp:DropDownList ID="ddlApplyCode" runat="server" Width="500px">
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td style="width: 120px" valign="top">
                </td>
                <td style="width: 120px" valign="top">
                </td>
                <td valign="top" style="width: 521px">
                    <asp:LinkButton ID="btnApplyCode" runat="server" OnClick="btnApplyCode_Click">Cập nhật</asp:LinkButton>
                    <uc6:tm_TreeViewAdv ID="tvApplyCode" runat="server" myWidth="400" myHeight="200" />
                    <asp:LinkButton ID="btApplyCodeSelect" runat="server" OnClick="btApplyCodeSelect_Click">Chọn</asp:LinkButton> 
                    <asp:LinkButton ID="btApplyCodeNotSelect" runat="server" OnClick="btApplyCodeNotSelect_Click"
                        Visible="False">Đóng</asp:LinkButton></td>
            </tr>
            <tr>
                <td style="width: 120px; height: 56px" valign="top">
                </td>
                <td valign="top" style="width: 120px; height: 56px;">
                    <asp:Label ID="Label67" runat="server" Text="Từ khóa:"   CssClass="titletext3"></asp:Label></td>
                <td valign="top" style="width: 521px; height: 56px;">
                    <asp:TextBox ID="txtTuKhoa" runat="server" Rows="3" TextMode="MultiLine" Width="500px"></asp:TextBox></td>
            </tr>
        </table>
    </asp:Panel> <asp:Panel id="pnlThongTinKhac" runat="server" Width="100%">
        <table border="0" width="100%">
            <tr>
                <td align="left" class="table" colspan="1" valign="top" width="10%">
                </td>
                <td align="left" colspan="4" valign="top" class="table">
                    <asp:Label ID="Label68" runat="server"   Text="CÁC THÔNG TIN KHÁC" CssClass="titletext2"></asp:Label></td>
            </tr>
            <tr>
                <td style="width: 120px">
                </td>
                <td>
                    <asp:Label ID="Label69" runat="server" Text="Tổng doanh thu:"   CssClass="titletext3"></asp:Label></td>
                <td valign="top" colspan="3">
                    <asp:TextBox ID="txtTongDoanhThu" runat="server" Width="80px" MaxLength="9">0</asp:TextBox>
                    <asp:DropDownList ID="ddlTongDoanhThuDonVi" runat="server" Width="100px"></asp:DropDownList>
                    <asp:DropDownList ID="ddlTongDoanhThuLoaiTien" runat="server" Width="100px"></asp:DropDownList>
                    <asp:RangeValidator ID="valNumTongDoanhThu" runat="server" ControlToValidate="txtTongDoanhThu"
                        Display="None" EnableClientScript="False" ErrorMessage="Tổng doanh thu phải là số lớn hơn 0 và nhỏ hơn 1 tỷ"
                        MaximumValue="1000000000" MinimumValue="0" ValidationGroup="a" Type="Double"></asp:RangeValidator>
                </td>
            </tr>
            <tr>
                <td colspan="1" style="height: 21px" valign="top">
                </td>
                <td style="height: 21px" valign="top" colspan="4">
                    <uc5:selectProductFromList ID="SelectProductFromList" runat="server" />
                </td>
            </tr>
            <tr>
                <td colspan="1" valign="top">
                </td>
                <td  valign="top" colspan="4">
                    <asp:Label ID="Label73" runat="server" Text="Các giải thưởng:"   CssClass="titletext3"></asp:Label></td>
            </tr>
            <tr >
                <td colspan="1" valign="top">
                </td>
                <td  valign="top" colspan="4" >
                    <asp:TextBox ID="txtCacGiaiThuong" runat="server" Rows="5" TextMode="MultiLine"
                        Width="650px"></asp:TextBox></td>
            </tr>
            <tr>
                <td valign="top">
                </td>
                <td  valign="top">
                    <asp:Label ID="Label71" runat="server" Text="Thông tin khác:"   CssClass="titletext3"></asp:Label></td>
                <td valign="top" colspan="3">
                    <asp:Label ID="Label72" runat="server" Text="Cung cấp thông tin khác khi chưa có trong biểu mẩu"></asp:Label></td>
            </tr>
            <tr >
                <td colspan="1" valign="top">
                </td>
                <td  valign="top" colspan="4">
                    <asp:TextBox ID="txtThongTinKhac" runat="server" Rows="5" TextMode="MultiLine"
                        Width="650px"></asp:TextBox></td>
            </tr>
        </table>
    </asp:Panel> <asp:Panel id="pnlThongTinQuanLy" runat="server" Width="100%">
        <table border="0" width="100%">
            <tr>
                <td align="left" class="table" colspan="1" width="10%">
                </td>
                <td align="left" colspan="2" class="table">
                    <asp:Label ID="Label74" runat="server"   Text="THÔNG TIN QUẢN LÝ" CssClass="titletext2"></asp:Label>
                    <asp:Label ID="lblUserId" runat="server" Visible="False"></asp:Label></td>
            </tr>
            <tr style="font-size: 12pt">
                <td style="width: 125px">
                </td>
                <td>
                    <asp:Label ID="Label35" runat="server"   Text="Xếp hạng:" CssClass="titletext3"></asp:Label></td>
                <td valign="top" style="width: 518px">
                    <asp:DropDownList ID="ddlXepHang" runat="server" Width="150px">
                    </asp:DropDownList>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                    &nbsp; &nbsp; &nbsp;
                    <asp:Label ID="Label75" runat="server" Text="Trạng thái:"   CssClass="titletext3"></asp:Label>
                    <asp:DropDownList ID="ddlStatus" runat="server" Width="100px">
                    </asp:DropDownList></td>
            </tr>
            <tr style="font-size: 12pt">
                <td style="width: 125px">
                </td>
                <td  style="width: 125px">
                    <asp:Label ID="Label77" runat="server" Text="Người đăng ký:"   CssClass="titletext3"></asp:Label></td>
                <td valign="top" style="width: 518px">
                    <asp:TextBox ID="txtNguoiDangKy" runat="server" Rows="5" Width="450px" MaxLength="255" ReadOnly="true"></asp:TextBox></td>
            </tr>
            <tr style="font-size: 12pt">
                <td style="width: 125px">
                </td>
                <td>
                    <asp:Label ID="Label78" runat="server" Text="Ngày đăng ký:"   CssClass="titletext3"></asp:Label></td>
                <td valign="top" style="width: 518px">
                    <asp:TextBox ID="txtNgayDangKy" runat="server" Width="150px" MaxLength="10"></asp:TextBox><asp:HyperLink ID="hplNgayDangKy" runat="server" ImageUrl="~/images/calendar.png"></asp:HyperLink>
                    &nbsp; &nbsp; &nbsp; &nbsp;
                    <asp:Label ID="Label80" runat="server" Text="Ngày hết hạn:"   CssClass="titletext3"></asp:Label><asp:TextBox ID="txtNgayHetHan" runat="server" Rows="5" Width="150px" MaxLength="10"></asp:TextBox><asp:HyperLink ID="hplNgayHetHan" runat="server" ImageUrl="~/images/calendar.png"></asp:HyperLink></td>
            </tr>
            <tr style="font-size: 12pt">
                <td style="width: 125px">
                </td>
                <td style="width: 125px">
                    <asp:Label ID="Label14" runat="server" CssClass="titletext3" Text="Ngày cập nhật:"></asp:Label></td>
                <td valign="top" style="width: 518px">
                    <asp:TextBox ID="txtNgayCapnhat" runat="server" MaxLength="10" ReadOnly="True" Rows="5"
                        Width="150px"></asp:TextBox></td>
            </tr>
            <tr style="font-size: 12pt">
                <td style="width: 125px" valign="top">
                </td>
                <td  style="width: 125px" valign="top">
                    <asp:Label ID="Label79" runat="server" CssClass="titletext3"></asp:Label><asp:Label
                        ID="Label15" runat="server" CssClass="titletext3" Text="Ghi chú:"></asp:Label></td>
                <td style="height: 40px; width: 518px;" valign="top">
                    <asp:TextBox ID="txtNoiDungXuLy" runat="server" Rows="2" TextMode="MultiLine" Width="450px"></asp:TextBox></td>
            </tr>
            <tr style="font-size: 12pt">
                <td colspan="1" valign="top">
                </td>
                <td colspan="2" valign="top">
                </td>
            </tr>
            <tr style="font-size: 12pt">
                <td class="table" style="width: 125px" valign="top">
                </td>
                <td class="table" style="width: 125px" valign="top">
                    <asp:Label ID="Label29" runat="server"   Text="TỆP ĐÍNH KÈM" CssClass="titletext2"></asp:Label></td>
                <td class="table" valign="top">
                                <asp:Label ID="Label33" runat="server"   Text="Số lượng" CssClass="titletext3"></asp:Label>
                    &nbsp;&nbsp;
                                <asp:Label ID="Label39" runat="server"   Text="Dung lượng (KB)" CssClass="titletext3"></asp:Label></td>
            </tr>
            <tr style="font-size: 12pt">
                <td style="width: 125px" valign="top">
                </td>
                <td style="width: 125px" valign="top">
                    <asp:Label ID="lblNoTextFile" runat="server" Text="Văn bản :"   CssClass="titletext3"></asp:Label></td>
                <td valign="top">
                    <asp:TextBox ID="tbxNoTextFile" runat="server" Width="40px">0</asp:TextBox>
                    &nbsp; &nbsp; &nbsp;&nbsp;
                    <asp:TextBox ID="tbxCapTextFile" runat="server" Width="80px">0</asp:TextBox></td>
            </tr>
            <tr style="font-size: 12pt">
                <td style="width: 125px" valign="top">
                </td>
                <td style="width: 125px" valign="top">
                    <asp:Label ID="lblNoImageFile" runat="server" Text="Hình ảnh :"   CssClass="titletext3"></asp:Label></td>
                <td valign="top">
                    <asp:TextBox ID="tbxNoImageFile" runat="server" Width="40px">0</asp:TextBox>
                    &nbsp; &nbsp; &nbsp;&nbsp;
                    <asp:TextBox ID="tbxCapImageFile" runat="server" Width="80px">0</asp:TextBox></td>
            </tr>
            <tr style="font-size: 12pt">
                <td style="width: 125px" valign="top">
                </td>
                <td style="width: 125px" valign="top">
                    <asp:Label ID="lblNoMediaFile" runat="server" Text="Video/âm thanh :"   CssClass="titletext3"></asp:Label></td>
                <td valign="top">
                    <asp:TextBox ID="tbxNoMediaFile" runat="server" Width="40px" >0</asp:TextBox>
                    &nbsp; &nbsp; &nbsp;&nbsp;
                    <asp:TextBox ID="tbxCapMediaFile" runat="server" Width="80px">0</asp:TextBox></td>
            </tr>
        </table>
    </asp:Panel> <asp:Panel id="pnlButton" runat="server" Width="100%"><TABLE width="100%" border=0>
                <tbody><tr>
        <td align="center" width="10%">
        </td>
        <td align="center"><asp:Button ID="btnUpdate" runat="server" CssClass="btn" 
                onclick="btnUpdate_Click" Text="Lưu thông tin" ValidationGroup="a" Width="90px">
            </asp:Button> 
            <asp:Button ID="btnDelete" runat="server" CssClass="btn" 
                onclick="btnDelete_Click" Text="Xóa" Width="90px"></asp:Button>&#160;<asp:Button 
                ID="btnGoToLastQuery" runat="server" CssClass="btn" 
                OnClick="btnGoToLastQuery_Click" Text="Quay về" 
                ToolTip="Về trang kết quả tìm kiếm" ValidationGroup="a" Width="68px" /></td></tr>
        <tr>
        <td align="center">
        </td>
        <td align="center"></td></tr><tr>
        <td align="center" style="height: 26px">
        </td>
        <td align="center" style="HEIGHT: 26px">
            <uc1:UploadFile ID="tempFUL" runat="server" Visible="false"></uc1:UploadFile> </td></tr></tbody></TABLE></asp:Panel> 
        <asp:Panel id="pnlMessage" runat="server" Width="100%">
    <uc2:message id="ctlMessage" runat="server" Visible="true"></uc2:message>
</asp:Panel> <asp:Panel id="pnlBottomNavigator" runat="server" Width="100%">
         <table width="100%">
        <tr>
            <td colspan="3" align="center">
                <div id="tabs10">
                    <ul>
                        <li><asp:LinkButton ID="LinkButton1" runat="server" OnClick="lkbThongTinChung_Click"><span>THÔNG TIN CHUNG</span></asp:LinkButton></li><li><asp:LinkButton ID="LinkButton2" runat="server" OnClick="lbkChuyenGiao_Click"><span>CHUYỂN GIAO</span></asp:LinkButton></li><li><asp:LinkButton ID="LinkButton3" runat="server" OnClick="lkbPhanLoai_Click"><span>PHÂN LOẠI</span></asp:LinkButton></li><li><asp:LinkButton ID="LinkButton4" runat="server" OnClick="lkbKhac_Click"><span>KHÁC</span></asp:LinkButton></li><li><asp:LinkButton ID="btnQuanLy" runat="server" OnClick="lkbQuanLy_Click"><span>QUẢN LÝ</span></asp:LinkButton></li></ul>
                </div>
            </td>
        </tr>
    </table>
            </asp:Panel> </CENTER></asp:Panel>
    <asp:Label ID="lblDebugMessage" runat="server" CssClass="titletext3"></asp:Label></center>
